/*
 * Copyright (C), 2013-2016, 汇通达网络有限公司
 * FileName: CommonConstants.java
 * Author:   杨振宁
 * Date:     2016-6-21 下午7:26:47
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.htd.htdapmcommon.constants;


public class CommonConstants {

    /**
     * 年月日常量
     */
    public static final String DATEFORMATE_YYYYMMDD = "yyyyMMdd";

    public static final String DATEFORMATE_MM = "MM";

    public static final String DATEFORMATE_YYYYMM = "yyyyMM";

    public static final String DATEFORMATE_YYYYMMDDHHMMSS = "yyyyMMddHHmmss";
    
    public static final String DATEFORMATE_MM_DD_HH_MM = "MM-dd HH:mm";

    public static final String DATEFORMATE_YYYYMMDDHH = "yyyyMMddHH";

    public static final String DATEFORMATE_YYYY_MM_DD_HHMMSS = "yyyy-MM-dd HH:mm:ss";

    public static final String DATEFORMATE_YYYY_MM_DD = "yyyy-MM-dd";

    public static final String DATEFORMATE_HHMMSS = "HHmmss";

    public static final String DATEFORMATE_CN_TIME = "yyyy年MM月dd日 HH:mm:ss";

    public static final String DATEFORMATE_CN_DATE = "yyyy年MM月dd日";

    public static final String DATEFORMATE_YYYYMMDD_SLASH = "yyyy/MM/dd";

    public static final String DATEFORMATE_FLAG_HHMMSS = "HH:mm:ss";

    public static final String DATEFORMATE_YYYY_MM_DD_HHMMSS_POINT = "yyyy.MM.dd HH:mm:ss";

    public static final String GUEST = "guest";

    public static final String DATEFORMATE_YYYY_MM_DD_HHMMSSSSS = "yyyy-MM-dd HH:mm:ss.SSS";

    /**
     * 支付币种
     */
    public static final String PAY_CURRENCY = "CNY";

    /**
     * UTF-8 编码常量
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 接口版本号
     */
    public static final String VERSION = "1.0.0";

    // 发起者为系统定时任务标识
    public static final String INITIATOR_JOB = "SystemJob";

    // 发起来源是系统后台人工异常处理表示
    public static final String INITIATOR_HBM = "SystemHbm";

    // 分页查询默认页
    public static final int DEFAULT_PAGE_SIZE = 1;
    // 分页查询每页最大查询条数
    public static final int MAX_QUERY_COUNT = 100;
    //默认查询条数
    public static final int DEFAULT_QUERY_COUNT = 100;
    // 一小时等于六十分钟
    public static final Long HOUR_TO_MINUTE = 60L;

    // 一分钟等于六十秒
    public static final Long MINUTE_TO_SECOND = 60L;

    // 一秒等于一千毫秒
    public static final Long SECOND_TO_MILLISECOND = 1000L;

    public static final Long TWENTY_FIVE = 25L;

    public static final Long TWENTY_FOUR = 24L;
    
    //银行卡匹配前缀数组
    public static final int[] BANK_PRE_NO = {10,9,8,7,6,5,4,3};
    
    public static final String HTD_CODE = "10001";

}
